package com.masc.gurr.model;

public class Contact {

	private String name;
	private String uid;
	private String statusMsg;
	private ProtocolType type;
	private ContactStatus status;
	private Group fGroupRef;
	
	public Contact(String uid, ProtocolType type, Group pGroupRef) {
		this.uid = uid;
		this.type = type;
		fGroupRef = pGroupRef;
	}
	
	public Contact(String uid, String name, ProtocolType type, Group pGroupRef) {
		this.uid = uid;
		this.name = name;
		this.type = type;
		fGroupRef = pGroupRef;
	}
	
	public Contact(String uid, String name, ProtocolType type, String pStrStatusMsg, Group pGroupRef) {
		this.uid = uid;
		this.name = name;
		this.type = type;
		fGroupRef = pGroupRef;
		statusMsg = pStrStatusMsg;
	}
	
	public Contact(String uid, String name, ContactStatus contactStatus, ProtocolType type, Group pGroupRef) {
		this.uid = uid;
		this.name = name;
		this.status = contactStatus;
		this.type = type;
		fGroupRef = pGroupRef;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStatusMsg() {
		return statusMsg;
	}

	public void setStatusMsg(String statusMsg) {
		this.statusMsg = statusMsg;
	}

	public String getUid() {
		return uid;
	}
	
	public ProtocolType getType() {
		return type;
	}

	public void setGroupRef(Group group) {
		this.fGroupRef = group;
	}
	
	public Group getGroupRef() {
		return this.fGroupRef;
	}
	
	public String getStatus() {
		return status.toString();
	}

	public void setStatus(long status) {
		this.status.setStatus(status);
	}
	
}
